home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 441 / aessrc12 / aesmake.mak < prev    next >
Text File  |  1990-11-23  |  3KB  |  95 lines

  1. #
  2. # MAKEFILE for AESFAST Public Domain AES bindings.]
  3. #  v1.1 - 02/10/89
  4. #
  5. #   This makefile is for the make util that comes with Sozobon C.  When
  6. #   using other (less buggy) make programs, your mileage may vary.  
  7. #
  8. #   The players...
  9. #     MAC.PRG       is the Atari Madmac assembler.  If you don't have
  10. #                   this program, stop now, you lose (see AES@NOTE.S).
  11. #     AR.TTP        is the Sozobon archive/library maint util.  
  12. #                   If you have Alcyon C, change this to AR68.PRG.
  13. #     DOINDEX.TTP   is the library indexer for Atari's aln linker.
  14. #                   If you don't use aln, macro-define IX as a comment.
  15. #     GLOBS         is the Sozobon util to strip non-global symbols out
  16. #                   of an object file.  If you don't have this, macro-define
  17. #                   it as a comment. (Your finished lib will be bigger).
  18. #
  19.  
  20. ASM   = MAC.PRG  
  21. AR    = AR.TTP 
  22. IX    = DOINDEX.TTP
  23. GLOBS = GLOBS.TTP
  24.  
  25. #
  26. # The modules which make up AESFAST...
  27. #
  28.  
  29. ONOT = aes@note.o 
  30. OUT1 = aesutgr1.o aesutob1.o aesutob2.o aesutob3.o aesutob4.o 
  31. OUT2 = aesutrc1.o aesutrc2.o aesutrc3.o aesutrc4.o 
  32. OUT3 = aesutrs1.o aesutrs2.o aesutrs3.o
  33. OAP1 = aesappl1.o aesappl2.o 
  34. OEV1 = aesevnt1.o aesevnt2.o aesevnt3.o 
  35. OEV2 = aesevnt4.o aesevnt5.o aesevnt6.o
  36. OFM1 = aesform1.o aesform2.o aesform3.o
  37. OMN1 = aesmenu1.o aesmenu2.o
  38. OFS1 = aesfsel1.o aesfsel2.o aesfsel3.o
  39. OGR1 = aesgraf1.o aesgraf2.o aesgraf3.o aesgraf4.o aesgraf5.o
  40. OOB1 = aesobjc1.o aesobjc2.o 
  41. ORS1 = aesrsrc1.o aesrsrc2.o 
  42. OSH1 = aesshel1.o aesshel2.o aesscrp.o  
  43. OWN1 = aeswind1.o aeswind2.o 
  44. OCMN = aescomn.o
  45.  
  46. #
  47. # Set the default rule for assembler source to be the madmac assembler.
  48. #
  49.  
  50. .s.o:
  51.     $(ASM)     $*.s
  52.     $(GLOBS) $*.o
  53.  
  54. #
  55. # The main library...
  56. #  The entire lib is deleted and rebuilt here. This overcomes the
  57. #  confusion AR.TTP tends to get about replacing modules, and also
  58. #  guarantees the modules are in the proper order in the lib.
  59. #  (Proper order means essentially that the 'ut' modules call each
  60. #  other, and mostly call normal AES functions, so they have to be 
  61. #  first in the library to avoid multiple linker passes.)
  62. #
  63.  
  64. aesfast.a: $(ONOT) $(OUT1) $(OUT2) $(OUT3) $(OAP1) $(OEV1) $(OEV2) \
  65. $(OFM1) $(OFS1) $(OGR1) $(OMN1) $(OOB1) $(ORS1) $(OSH1) $(OWN1) $(OCMN)
  66.  
  67.     $(RM) aesfast.a aesfast.ndx
  68.     $(AR) qv aesfast.a $(ONT1)
  69.     $(AR) qv aesfast.a $(OUT1)
  70.     $(AR) qv aesfast.a $(OUT2)
  71.     $(AR) qv aesfast.a $(OUT3)
  72.     $(AR) qv aesfast.a $(OAP1)
  73.     $(AR) qv aesfast.a $(OEV1)
  74.     $(AR) qv aesfast.a $(OEV2)
  75.     $(AR) qv aesfast.a $(OFM1)
  76.     $(AR) qv aesfast.a $(OFS1)
  77.     $(AR) qv aesfast.a $(OGR1)
  78.     $(AR) qv aesfast.a $(OMN1)
  79.     $(AR) qv aesfast.a $(OOB1)
  80.     $(AR) qv aesfast.a $(ORS1)
  81.     $(AR) qv aesfast.a $(OSH1)
  82.     $(AR) qv aesfast.a $(OWN1)
  83.     $(AR) qv aesfast.a $(OCMN)
  84.     $(AR) tv aesfast.a
  85.     $(IX)    aesfast.a
  86.  
  87. #
  88. # Everybody depends on a change in the asm macros...
  89. #
  90.  
  91. $(ONOT) $(OUT1) $(OUT2) $(OUT3) $(OAP1) $(OEV1) $(OFM1) \
  92. $(OFS1) $(OGR1) $(OMN1) $(OOB1) $(ORS1) $(OSH1) $(OWN1) \
  93. $(OCMN) : aesfast.sh gemfast.sh
  94.  
  95.